]> dgit.raspbian.org Git - gnome-shell.git/commit
workspaceThumbnail: Allocate final thumbnail sizes
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 25 Jan 2021 23:59:46 +0000 (20:59 -0300)
committerMarge Bot <marge-bot@gnome.org>
Fri, 29 Jan 2021 15:01:03 +0000 (15:01 +0000)
commit9980c806191fdf12725960dd5ba3fd8c6e0ace9b
tree1ec16560f577c691081e71233396f7fef896b817
parent3ad7b85e259dffd6958816361a866a31310a9382
workspaceThumbnail: Allocate final thumbnail sizes

ThumbnailsBox currently allocates each workspace thumbnail using their
porthole size, and scales them down using scale-x and scale-y. This is
slightly problematic since it doesn't allow for properly styling these
thumbnails through CSS.

Rework ThumbnailsBox to allocate workspace thumbnails at their actual
sizes, and scale down the '_contents' actor inside WorkspaceThumbnail.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1593>
js/ui/workspaceThumbnail.js